<style>
    .Hotsimg img{
        width: 100%;
        height: 200px;
    }
    .Hotspot_wrap{
        background: #fff;
    }
    .Hotspot_wrap .Hotspot_con h4{
        padding: 15px 0;
        font-size: 0.427rem;
        margin: 0;
        line-height: 1.4em;
    }


    .newListDetail_user{
        opacity: .9;
        position: fixed;
        bottom: 0;
        width: 100%;
        padding: 8px 0;
        background: #fff;
        border-top: 1px solid #E8E8E8;
    }
    .newListDetail_user .detai_img{

        padding-left: 5px;
        padding-right: 5px;
    }
    .newListDetail_user .detai_img img{
        vertical-align: top;
        width: 1.867rem;
        height: 1.867rem;
        border-radius: 50%;
    }
    .newListDetail_user .detail_right{
        padding: 2px 0;
    }
    .newListDetail_user .detail_right p{
        margin: 0;
    }
    .newListDetail_user .detail_right h4{
        margin:0;
        margin-top: 2px;
    }
    .newListDetail_user .detail_right .detail_p{
        font-size: 0.347rem;
        color: #323C47;
        clear: both;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        height: 20px;
    }
    .platform-ios.platform-cordova:not(.fullscreen) .hheecc{
        height: 49px;
    }
    .hheecc{
        height: 29px;
    }
    .detailcon{
        max-width: 100%;
    }
    .detailcon img{
        max-width: 100%;
    }
    .detailcon p{
        font-size:  0.4rem;
    }

</style>
<ion-view>

    <ion-header-bar class="index_head" ng-if="!type||type=='false'">
        <button class="button button-icon icon ion-android-arrow-back" ng-click="$ionicGoBack()" style="color: #fff"></button>
        <div class="h1 title">热点资讯</div>
        <a ng-if="!ISWEB && !type" class="button button-clear zhuce_head_btn" ng-click="fxInformation(detail.title,detail.birefDesc,detail.hotImg,3,detail.id)">
            <img src="img/commimg/share_icon.png" alt="" style="width: 26px;height: 28px;margin-top: 3px;">
        </a>
    </ion-header-bar>
    <ion-header-bar class="index_head" ng-if="!ISWEB && type == '3'">
        <button class="button button-icon icon ion-android-arrow-back" ng-click="$ionicGoBack()" style="color: #fff"></button>
        <div class="h1 title">热点资讯</div>
        <a ng-if="!ISWEB && type == '3'" class="button button-clear zhuce_head_btn" ng-click="fxInformation(detail.title,detail.birefDesc,detail.hotImg,3,detail.id)">
            <img src="img/commimg/share_icon.png" alt="" style="width: 26px;height: 28px;margin-top: 3px;">
        </a>
    </ion-header-bar>
    <ion-content class="Hotspot_wrap">
        <div class="hheecc" ng-if="!type||(type && type=='3')"></div>
        <div class="hheecc" ng-if="type == 'false'"></div>
       <!-- <div class="HotspotDetail" style="padding: 0 20px;">
            <h4>{{detail.title}}</h4>
            <p>{{detail.releaseTime | limitTo:16}}</p>
            <div class="Hotsimg" ng-bind-html="detail.content"></div>
        </div>-->
        <div class="Hotspot_con zixunmargin">
            <h4 style="font-size: 0.427rem;">{{detail.title}}</h4>
            <p style="color: #999999;font-size: 14px;">{{detail.releaseTime | limitTo:16}}</p>
            <div style="color: #666666;margin-bottom: 80px;font-size: 0.373rem" class="detailcon" ng-bind-html="detail.content | to_trusted"></div>
        </div>
        <!--咨询关联产品-->
        <div ng-if="prodata" style="border: 1px solid #e8e8e8;">
            <div style="margin: 0"  class="w4-prolist-list w4-prolist-list-issort">
                <div ng-click="toView(prodata.ptype,prodata.projectId)" >
                    <div class="row w4-prolist-list-1" style="border: none;padding-right: 50px">
                        <div class="w4-prolist-name" style="max-width: 100%">{{prodata.pname}}</div>
                        <img style="right: 5px" ng-if="prodata.saleStatus == 02" class="w4-hot-list-statusimg"  src="img/status_yuren.png" width="39px" height="17px">
                        <img style="right: 5px" ng-if="prodata.saleStatus == 03" class="w4-hot-list-statusimg"  src="img/status_mujizhong.png" width="39px" height="17px">
                        <img style="right: 5px" ng-if="prodata.saleStatus == 04" class="w4-hot-list-statusimg"  src="img/status_muman.png" width="51px" height="17px">
                        <img style="right: 5px" ng-if="prodata.saleStatus == 05" class="w4-hot-list-statusimg"  src="img/status_jieshu.png" width="51px" height="17px">
                    </div>

                    <div ng-if="prodata.ptype != '01'" class="row w4-prolist-list-2" style="text-align: center">
                        <div class="col">
                            <div class="w4-prolist-color">{{prodata.expectAnnualRevenue}}</div>
                            <div>预期年化</div>
                        </div>
                        <div class="col" style="border-right: 1px solid #e8e8e8;border-left: 1px solid #e8e8e8;">
                            <div>{{prodata.dueTime}}个月</div>
                            <div>产品期限</div>
                        </div>
                        <div class="col">
                            <div>{{prodata.pminimumAmount | abbrMoney}}</div>
                            <div>起投金额</div>
                        </div>
                    </div>
                    <div ng-if="prodata.ptype == '01'" class="row w4-prolist-list-2" style="text-align: center">
                        <div class="col">
                            <div class="w4-prolist-color">{{prodata.expectAnnualRevenue}}</div>
                            <div>涨跌幅</div>
                        </div>
                        <div class="col" style="border-right: 1px solid #e8e8e8;border-left: 1px solid #e8e8e8;">
                            <div>{{prodata.pminimumAmount}}</div>
                            <div>最新净值</div>
                        </div>
                        <div class="col">
                            <div>{{prodata.dueTime}}</div>
                            <div>基金经理</div>
                        </div>
                    </div>

                </div>
            </div>
            <div ng-if="!sharephone && prodata" class="row row-no-padding text-center" >
                <div class="row" style="border-top: 1px dashed #e8e8e8;">
                    <div ui-sref="app.shopsProduct2({isonmsg:detail.id})" class="col" style="border-right: 1px solid #e8e8e8;">
                        <img style="vertical-align: text-bottom;margin-right: 5px" width="18px" src="img/shops/product-add.png"/>编辑</div>
                    <div ng-click="delmsgpro(prodata.id)" class="col">
                        <img style="vertical-align: text-bottom;margin-right: 5px" width="15px"  src="img/shops/product-delete.png"/>删除</div>
                </div>
            </div>
        </div>
        <div ng-if="!sharephone && !prodata" ui-sref="app.shopsProduct2({isonmsg:detail.id})" class=" bg-fff shop-product-add" style="background-image: linear-gradient(-42deg, #FF8C2B 0%, #FF6322 100%);
border-radius: 4px;">
            添加产品
        </div>
        <div style="height: 80px" ng-if="sharephone && prodata"></div>
    </ion-content>
    <div class="newListDetail_user weui-flex" ng-if="sharephone" ng-click="toShopHome(item.userPhone || user.loginName )">
        <div class="detai_img">
            <img  ng-src="{{baseUrl}}{{item.userHeadImg}}?x-oss-process=image/resize,w_750">
        </div>
        <div class="detail_right weui-flex__item" >
            <h4 style="font-size: 0.453rem;">{{item.userName  || item.userPhone || user.loginName}}</h4>
            <p style="font-size: 12px;color: #323C47;overflow: hidden">
                <span style="float: left;">TEL:{{item.userPhone || user.loginName}}</span>
            </p>
            <p class="detail_p">{{item.companyName}}</p>
        </div>
        <span style="line-height:1.867rem;">
            <span style="color: #323C47;margin-top: 3px;">理财工作室</span>
            <img style="width: 25px;height: 23px;vertical-align: middle;" src="img/commimg/symbols-material-icons-black-chevron-right.png">
        </span>
    </div>
</ion-view>
